https://sandbox-portal.tidypay.com/api/v01/merchants/[merchant-code]/pre-rules
Returns a set of pre-rules to validate billing address, issuing bank country, card type.
Resource URL | Description |
---|---|
https://sandbox-portal.tidypay.com/api/v01/merchants/[merchant-code]/pre-rules/[rule-id] | Pre-Rule to validate billing address, issuing bank countries, card type. |
Method: GET | Implicit: No | Returns: ServiceResponse |
Consumes: json, xml, xurl | Produces: json, xml, xurl | |
Copies the list of all available rules between selected merchants.
|
Method: GET | Implicit: No | Returns: ServiceResponse |
Consumes: json, xml, xurl | Produces: json, xml, xurl | |
Copies the list of all available rules between selected merchants.
|
Method: POST | Implicit: Yes | Returns: PreRule |
Consumes: json, xml, xurl | Produces: json, xml, xurl | |
Creates a new rule.
|
Method: GET | Implicit: Yes | Returns: n/a |
Consumes: json, xml, xurl | Produces: json, xml, xurl | |
Finds all pre-rules defined for the merchant.
|
# | Name | Type | Required | Default | Description |
---|---|---|---|---|---|
01 | offset | Integer | No | 0 |
Index of the first record returned to the customer from the search result of a web search. |
02 | limit | Integer | No | 100 |
Maximum number of records to load per single search web call made by the customer. |
Method: POST | Implicit: Yes | Returns: PreRule |
Consumes: json, xml, xurl | Produces: json, xml, xurl | |
Allows to modify the pre-rule for the merchant.
The used have to send the ID of the pre-rule and fields that are to be changed in the request. |
Method: POST | Implicit: Yes | Returns: PreRule |
Consumes: json, xml, xurl | Produces: json, xml, xurl | |
Allows to change the execution priority of the pre-rule.
|
# | Name | Type | Required | Default | Description |
---|---|---|---|---|---|
01 | value | String | Yes | - |
Parameter can take one of the following values:
highest - assignes a highest priority to the rule lowest - assignes a lowest priority to the rule +N - increases priority of the rule by N, where N is an integer value -N - decreases priority of the rule by N, where N is an integer value |